/*    */ package src.tfhka;
/*    */ 
/*    */ public class S4PrinterData
/*    */ {
/*    */   private double[] listCumulaMountsMeansPayments;
/*    */ 
/*    */   public S4PrinterData(String trama)
/*    */   {
/* 23 */     if ((trama != null) && (trama.length() == 162))
/*    */     {
/* 25 */       this.listCumulaMountsMeansPayments = new double[16];
/* 26 */       int ite = 0;
/* 27 */       int i = 2; int j = 10; int k = 12;
/* 28 */       double valor = 0.0D;
/* 29 */       while (ite < 16)
/*    */       {
/* 31 */         valor = Double.parseDouble(trama.substring(i, j)) + Double.parseDouble(trama.substring(j, k)) / 100.0D;
/* 32 */         this.listCumulaMountsMeansPayments[ite] = valor;
/* 33 */         i = k;
/* 34 */         j = i + 8;
/* 35 */         k = j + 2;
/* 36 */         ite++;
/*    */       }
/*    */ 
/* 39 */       setListCumulaMountsMeansPayments(this.listCumulaMountsMeansPayments);
/*    */     }
/*    */   }
/*    */ 
/*    */   public double[] getListCumulaMountsMeansPayments() {
/* 44 */     return this.listCumulaMountsMeansPayments;
/*    */   }
/*    */ 
/*    */   private void setListCumulaMountsMeansPayments(double[] listCumulaMountsMeansPayments) {
/* 48 */     this.listCumulaMountsMeansPayments = listCumulaMountsMeansPayments;
/*    */   }
/*    */ }

/* Location:           C:\Users\javaOne\Documents\TfhkaJava.jar
 * Qualified Name:     tfhka.S4PrinterData
 * JD-Core Version:    0.6.2
 */